package com.qyhl.school.school.reporter;


import com.qyhl.webtv.commonlib.entity.school.SchoolReporterHomeBean;

public class SchoolReporterPresenter implements SchoolReporterContract.SchoolReporterPresenter {
    private SchoolReporterContract.SchoolReporterView mView;
    private SchoolReporterModel mModel;

    public SchoolReporterPresenter(SchoolReporterContract.SchoolReporterView mView) {
        this.mView = mView;
        this.mModel = new SchoolReporterModel(this);
    }

    @Override
    public void getHome() {
        mModel.getHome();
    }

    @Override
    public void setHome(SchoolReporterHomeBean bean) {
        mView.setHome(bean);
    }

    @Override
    public void setError(String msg) {
        mView.setError(msg);
    }
}
